import React, {useEffect} from 'react';
import {Text, View} from 'react-native';
import RNBootSplash from 'react-native-bootsplash';
export default () => {
  useEffect(() => {
    setTimeout(() => {
      RNBootSplash.hide({fade: true, duration: 1500});
    }, 0);
  }, []);
  return (
    <View
      style={{
        flex: 1,
        alignItems: 'center',
        justifyContent: 'center',
        backgroundColor: '#ccc',
      }}>
      <Text style={{fontSize: 50, fontWeight: 900}}>RN V1.0.1</Text>
    </View>
  );
};
